<div class='info'>
  <table>
    <tr>
      <th>
        家具-编号：
      </th>
      <td>
        <%= enter_item.furniture.furniture_style.code %>-<%= enter_item.furniture.furniture_style.name %>
      </td>
    </tr>
    <tr>
      <th>
        -材质：
      </th>
      <td>
        <%= enter_item.furniture.material.code %>-<%= enter_item.furniture.material.name %>
      </td>
    </tr>
    <tr>
      <th>
        -规格：
      </th>
      <td>
        <%= f.hidden_field :order_id %>
        <%= f.hidden_field :order_item_id %>
        <%= f.hidden_field :installation_id %>
        <%= f.hidden_field :install_item_id %>
        <%= f.hidden_field :order_made_id %>
        <%= f.hidden_field :order_made_item_id %>
        <%= f.hidden_field :furniture_id %>
        <%= enter_item.furniture.spec %>
      </td>
    </tr>
    <tr>
      <th>
        -数量：
      </th>
      <td>        
        <%= f.text_field :entered_count %>
      </td>
    </tr>
    <tr>
      <th>
        入库地点：
      </th>
      <td>
        <% if enter_item.furniture_logistic_stat.present? %>
        <%= enter_item.furniture_logistic_stat.dept.name %>
        <% else %>
        <%= select_tag :dept_id, options_from_collection_for_select(Dept.order('type desc'),'id','name') %>
        <% end %>
      </td>
    </tr>
    <tr>
      <th>
        入库日期：
      </th>
      <td>
        <%= f.date_select :entered_on %>
      </td>
    </tr>
    <tr>
      <th>
        包装编号：
      </th>
      <td>
        <%= f.text_field :package_codes %>
      </td>
    </tr>
    <tr>
      <th>备注：</th>
      <td >
        <%= f.text_area :remark %>
      </td>
    </tr>
    <tr>
      <td class='b' colspan="2">
        <%= f.submit '保存', :class => :bb %>
        <%= link_to '返回',
              order_made_items_order_made_url(order_made),
              :remote => true,
              :method => :get,
              :class => :bb
         %>
      </td>
    </tr>
  </table>
</div>